home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
ASSEMBLE
/
0130.ZIP
/
EXAMPLE.ASM
< prev
next >
Wrap
Assembly Source File
|
1984-09-05
|
640b
|
16 lines
;=====================================;
;HELLO Version 1.00 ;
; 1984 by David Whitman ;
; ;
; Sample source file for CHASM. ;
; Prints a greeting on the console. ;
;=====================================;
MOV AH, 9 ;specify DOS function 9
MOV DX, OFFSET(MESSAGE) ;get address of string
INT 21H ;call DOS
INT 20H ;return to DOS
MESSAGE DB 'Hello, World!$' ;message to be printed